package com.travel.server.manager.dto.response.customer.data;

import com.alibaba.fastjson.annotation.JSONField;
import lombok.Data;

import java.util.Date;
import java.util.List;

/**
 * @Author: LiZhenhui
 * @Date: 2018/12/10 10:10
 * @Desc:
 */
@Data
public class QueryCustomerDataResponse {

    private Integer visit;

    @JSONField(name = "visit_compare")
    private String visitCompare;

    private Integer member;

    @JSONField(name = "member_compare")
    private String memberCompare;

    @JSONField(name = "high_member")
    private Integer highMember;

    @JSONField(name = "high_member_compare")
    private String highMemberCompare;

    @JSONField(name = "not_member")
    private Integer notMember;

    @JSONField(name = "not_member_compare")
    private String notMemberCompare;

    private Integer customer;

    @JSONField(name = "customer_compare")
    private String customerCompare;

    @JSONField(name = "customer_data_list")
    private List<CustomerDataItem> customerDataList;

    @Data
    public static class CustomerDataItem{

        @JSONField(format = "yyyy-MM-dd")
        private Date date;

        private Integer visit;

        private Integer member;

        private Integer customer;
    }
}
